package com.ruoyi.project.purchase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 采购出库对象 ry_depot_head
 *
 * @author you
 * @date 2022-09-26
 */
public class RyPurchaseOut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目名 */
    @Excel(name = "项目名")
    private String projectName;

    /** 项目代号 */
    @Excel(name = "项目代号")
    private String projectCode;

    private Long projectHeadId;

    /**
     * 项目库
     */
    private Long depotId;

    /** 采购合同编号 */
    @Excel(name = "采购合同编号")
    private String contractNumber;

    /** 业务类型 */
    private String type;

    /** 业务名称 */
    private String subType;

    /** 初始票据号 */
    private String defaultNumber;

    /** 票据号 */
    @Excel(name = "票据号")
    private String number;

    /** 出入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operTime;

    private String operName;

    private String companyName;

    /** 供应商id */
    private Long organId;

    /** 操作员 */
    private Long creator;

    /** 单据类型 */
    private String billType;

    /** 附件名称 */
    private String fileName;

    /** 业务员 */
    @Excel(name = "业务员")
    private String salesMan;

    /** 状态，0未审核、1已审核、2完成采购|销售、3部分采购|销售 */
    @Excel(name = "状态，0未审核、1已审核、2完成采购|销售、3部分采购|销售")
    private String status;

    private String shippingStatus;

    /** 项目状态，0开始、2进行中、3已完成 */
    @Excel(name = "项目状态，0开始、2进行中、3已完成")
    private String projectStatus;

    /** 关联订单号 */
    private String linkNumber;

    /** 关联订单号id */
    private Long linkHeadId;

    /** 租户id */
    private Long tenantId;

    /** 删除标记，0未删除，1删除 */
    private String delFlag;

    public Long getProjectHeadId() {
        return projectHeadId;
    }

    public void setProjectHeadId(Long projectHeadId) {
        this.projectHeadId = projectHeadId;
    }

    public String getOperName() {
        return operName;
    }

    public void setOperName(String operName) {
        this.operName = operName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Long getLinkHeadId() {
        return linkHeadId;
    }

    public void setLinkHeadId(Long linkHeadId) {
        this.linkHeadId = linkHeadId;
    }

    public String getShippingStatus() {
        return shippingStatus;
    }

    public void setShippingStatus(String shippingStatus) {
        this.shippingStatus = shippingStatus;
    }

    public Long getDepotId() {
        return depotId;
    }

    public void setDepotId(Long depotId) {
        this.depotId = depotId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setProjectCode(String projectCode)
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode()
    {
        return projectCode;
    }
    public void setContractNumber(String contractNumber)
    {
        this.contractNumber = contractNumber;
    }

    public String getContractNumber()
    {
        return contractNumber;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setSubType(String subType)
    {
        this.subType = subType;
    }

    public String getSubType()
    {
        return subType;
    }
    public void setDefaultNumber(String defaultNumber)
    {
        this.defaultNumber = defaultNumber;
    }

    public String getDefaultNumber()
    {
        return defaultNumber;
    }
    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getNumber()
    {
        return number;
    }
    public void setOperTime(Date operTime)
    {
        this.operTime = operTime;
    }

    public Date getOperTime()
    {
        return operTime;
    }
    public void setOrganId(Long organId)
    {
        this.organId = organId;
    }

    public Long getOrganId()
    {
        return organId;
    }
    public void setCreator(Long creator)
    {
        this.creator = creator;
    }

    public Long getCreator()
    {
        return creator;
    }
    public void setBillType(String billType)
    {
        this.billType = billType;
    }

    public String getBillType()
    {
        return billType;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setSalesMan(String salesMan)
    {
        this.salesMan = salesMan;
    }

    public String getSalesMan()
    {
        return salesMan;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setProjectStatus(String projectStatus)
    {
        this.projectStatus = projectStatus;
    }

    public String getProjectStatus()
    {
        return projectStatus;
    }
    public void setLinkNumber(String linkNumber)
    {
        this.linkNumber = linkNumber;
    }

    public String getLinkNumber()
    {
        return linkNumber;
    }
    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId()
    {
        return tenantId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("projectName", getProjectName())
                .append("projectCode", getProjectCode())
                .append("contractNumber", getContractNumber())
                .append("type", getType())
                .append("subType", getSubType())
                .append("defaultNumber", getDefaultNumber())
                .append("number", getNumber())
                .append("createTime", getCreateTime())
                .append("operTime", getOperTime())
                .append("organId", getOrganId())
                .append("creator", getCreator())
                .append("billType", getBillType())
                .append("remark", getRemark())
                .append("fileName", getFileName())
                .append("salesMan", getSalesMan())
                .append("status", getStatus())
                .append("projectStatus", getProjectStatus())
                .append("linkNumber", getLinkNumber())
                .append("tenantId", getTenantId())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
